// 静态图片
export function getImageUrl(url) {
    // console.log('url', url)
    const idx = url.lastIndexOf('/') + 1
    const name = url.slice(idx)
    // const names = 'dog.png'
    return new URL(`../assets/images/${name}.png`, import.meta.url).href
}
